<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
	<f:view>
		<ui:composition template="/template/templatePadrao.xhtml">
			<ui:define name="body">
				<h:form id="form">
					<p:growl id="growl" />
					<h:panelGroup id="list_medico" rendered="#{!medicoManager.showPanelCadastro}">
						<h:outputText value="Médico > Listagem" styleClass="breadcrumb" rendered="#{segurancaManager.isClinica}"/>
						<h:outputText value="Veterinário > Listagem" styleClass="breadcrumb" rendered="#{segurancaManager.isVeterinaria}"/>
						<ui:include src="/medico/paginas/medico/list.xhtml"></ui:include>
					</h:panelGroup>
					<h:panelGroup id="panel_medico" rendered="#{medicoManager.showPanelCadastro}">
						<h:outputText value="Médico > Cadastro" styleClass="breadcrumb" rendered="#{segurancaManager.isClinica}"/>
						<h:outputText value="Veterinário > Cadastro" styleClass="breadcrumb" rendered="#{segurancaManager.isVeterinaria}"/>
						<ui:include src="/medico/paginas/medico/medico.xhtml"></ui:include>
					</h:panelGroup>
			    </h:form>
				
			</ui:define>
		</ui:composition>
	</f:view>
</html>